package com.maistars.spider.repository.mapper;

import com.maistars.spider.repository.model.CrawlerPageRulePO;
import com.maistars.spider.repository.model.CrawlerSiteRulePO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
public interface CrawlerSiteRuleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CrawlerSiteRulePO record);

    int insertSelective(CrawlerSiteRulePO record);

    CrawlerSiteRulePO selectByPrimaryKey(Integer id);

    List<CrawlerSiteRulePO> queryByCondition(CrawlerSiteRulePO crawlerSiteRulePO);

    int updateByPrimaryKeySelective(CrawlerSiteRulePO record);

    int updateByPrimaryKey(CrawlerSiteRulePO record);
}